package com.example.backend.service.mysql.permission;

import org.springframework.security.core.authority.SimpleGrantedAuthority;

import java.util.Collection;

public interface PermissionService {
    Collection<SimpleGrantedAuthority> getByAuthorities(Long userId);

    Collection<SimpleGrantedAuthority> getVisitor();

}
